<php>$user_config = F('USER_CONFIG');</php>
<div class="widget-head" style="margin-top:0;">
    <div class="widget-title">修改地址信息</div>
</div>
<div class="layui-container" style="width:100%;">
    <form class="layui-form shuaxin" action="/user/api_admin/edit_address_post">
        <div class="layui-form-item">
            <label class="layui-form-label">国家：</label>
            <div class="layui-input-block">
                <php>$countrys = explode("\n", $user_config['countrys']);</php>
                <select name="country">
                    <volist name="countrys" id="vo">
                        <option value="{$vo}" <if condition="$info['country'] eq $vo">selected</if>>{$vo}</option>
                    </volist>
                </select>
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">详细地址：</label>
            <div class="layui-input-block">
                <textarea name="address" placeholder="请输入详细地址" class="layui-textarea">{$info.address}</textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="*">保存</button>
            </div>
        </div>
    </form>
</div>